/**
 * @Title: cartService
 * @Package mall-fe
 * @author Shinelon
 * @date 2017/9/4 14:58
 * @version V1.0
 */
'use strict';

var shiqla = require('util/shiqlamall');
var cartService = {
    //获取购物车数量
    getCartCount:function (resolve,reject) {
        shiqla.request({
            url:shiqla.getServerUrl('/cart/get_cart_product_count.do'),
            success:resolve,
            error:reject
        });
    }
};

module.exports=cartService;